package com.spark.incoicingsi.entity;



import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "spring.cloud.alicloud")
@Data
public class AliOssProperties {
    private String accessKey;
    private String secretKey;
    private Oss oss;
    @Data
    public static class Oss{
        private String bucketName;
        private String endpoint;
    }
}